package com.bluestarenergy.party.sample.domain;

/**
 * Association class that represents all the roles a party can play over time.
 * 
 *            Please check the PartyRoleType class for more details.
 * @version 1.0
 * @created 01-Sep-2006 1:42:34 PM
 */
public class PartyRole extends BaseEntity {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private Party party;
	private PartyRoleType partyRoleType;

	public PartyRole(){

	}

	public Party getParty(){
		return party;
	}

	public PartyRoleType getPartyRoleType(){
		return partyRoleType;
	}

	/**
	 * 
	 * @param newVal
	 */
	public void setParty(Party newVal){
		party = newVal;
	}

	/**
	 * 
	 * @param newVal
	 */
	public void setPartyRoleType(PartyRoleType newVal){
		partyRoleType = newVal;
	}

}